//
//  FinishCheckDetailResponse.m
//  ICrEAM
//
//  Created by mac on 16/11/24.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "FinishCheckDetailResponse.h"

@implementation FinishCheckDetailResponse
+ (NSDictionary *)replacedKeyFromPropertyName{
    return @{
             @"license" : @"LICENSE",
             @"proxyNum" : @"RO_NO",
             @"serviceAdvisor" : @"SERVICE_ADVISOR",
             @"inMileage" : @"IN_MILEAGE",
             @"outMileage" : @"OUT_MILEAGE",
             @"vhclGoods" : @"VHCL_GOODS",
             @"oldPartProcess" : @"OLD_PART_PROCESS",
             @"checkImages" : @"TT_USED_PART_PHOTO",
             @"innerBigImageUrl" : @"INNER_BIG",
             @"innerSmallImages" : @"INNER_SMALL",
             @"outerBigImageUrl" : @"OUTER_BIG",
             @"outerSmallImages" : @"OUTER_SMALL",
             @"deliverName" : @"DELIVER",
             @"seriesName" : @"SERIES_NAME",
             @"deliverDate" : @"DELIVERY_DATE",

             };
}
-(BOOL)isSelectFirst{
    if ([_CHECK_NO1 isEqualToString:@"12781001"]) {
        return YES;
    }
    return NO;
    
}
-(BOOL)isSelectSecond{
    if ([_CHECK_NO2 isEqualToString:@"12781001"]) {
        return YES;
    }
    return NO;
    
}
-(BOOL)isSelectThird{
    if ([_CHECK_NO3 isEqualToString:@"12781001"]) {
        return YES;
    }
    return NO;
}
-(BOOL)isSelectFour{
    if ([_CHECK_NO4 isEqualToString:@"12781001"]) {
        return YES;
    }
    return NO;
}

-(BOOL)isSelectFive{
    if ([_CHECK_NO5 isEqualToString:@"12781001"]) {
        return YES;
    }
    return NO;
}
-(BOOL)isSelectSix{
    if ([_CHECK_NO6 isEqualToString:@"12781001"]) {
        return YES;
    }
    return NO;
}
-(BOOL)isSelectSeven{
    if ([_CHECK_NO7 isEqualToString:@"12781001"]) {
        return YES;
    }
    return NO;
}
-(NSString *)oldPartBack{
    if ([_CHECK_NO7 isEqualToString:@"12781001"]) {
        return @"是";
    }
    return @"否";
}
-(NSString *)oldPartProcess{
    if (!IsStrEmpty(_oldPartProcess)) {
      ParameterModel *model=[ICrEAMTool getCodeModelForCode:_oldPartProcess];
        
        return model.desc;
    }
    return @"";
}
@end
